using Framework.Save;
using LitJson;

namespace GameCore
{
    public class LevelData : ObjectDataWrapper<LevelData>

    {
    public InventoryData playerInventory;

    public override JsonData Serialize()
    {
        var json = base.Serialize();
        json["player_inventory"] = playerInventory.Serialize();
        return json;
    }

    public override void Deserialize(JsonData data)
    {
        base.Deserialize(data);
    }
    }
}